package com.dk.service;

import com.dk.pojo.TPerson;
import com.dk.pojo.TRole;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface PersonService {
    List<TPerson> getInfo();

    Boolean deleteInfo(Integer pid);

    boolean addInfo(TPerson tPerson, Integer[] roleId);

    TPerson getInfoById(Integer pid);

    boolean updateInfo(TPerson tPerson, Integer[] roleId);

    Integer getById(TPerson tPerson, String s, String vcode);

    TPerson getByName(String pname);
}
